package com.zr.inquiry.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by 天赐 on 2019/12/28.
 */
@Data
public class InquirySpare {
    private Integer id;
    @NotBlank(message = "编号不能为空")
    private String spareCoding;
    private String spareName;
    private String measurementUnit;
    @NotNull(message = "moq不能为空")
    private Integer moq;
    private Integer currencyCode;
    @NotNull(message = "数量不能为空")
    private Integer inquiryQty;
    @NotNull(message = "交货周期不能为空")
    private Integer deliveryCycle;
    private Integer inquiryId;
}
